package com.dliub.cloud.monitor;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import org.springframework.cloud.netflix.turbine.EnableTurbine;

/**
 * 服务监控
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableTurbine
@EnableHystrixDashboard
public class DliubCloudMonitorApplication {

    public static void main(String[] args) {
        new SpringApplicationBuilder(DliubCloudMonitorApplication.class)
                .banner(new MonitorBanner())
                .logStartupInfo(true)
                .run(args);
    }
}
